package com.hf.buildtb.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * BiSupplier entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "BI_Supplier", schema = "dbo", catalog = "BIDB")
public class BiSupplier implements java.io.Serializable {

	// Fields

	private String id;
	private String name;
	private Boolean isValid;
	private String memo;
	private String bankName;
	private String bankAcount;
	private String contact;
	private String phone;
	private String address;
	private String py;
	private String wb;

	// Constructors

	/** default constructor */
	public BiSupplier() {
	}

	/** minimal constructor */
	public BiSupplier(String id, String name, Boolean isValid) {
		this.id = id;
		this.name = name;
		this.isValid = isValid;
	}

	/** full constructor */
	public BiSupplier(String id, String name, Boolean isValid, String memo,
			String bankName, String bankAcount, String contact, String phone,
			String address, String py, String wb) {
		this.id = id;
		this.name = name;
		this.isValid = isValid;
		this.memo = memo;
		this.bankName = bankName;
		this.bankAcount = bankAcount;
		this.contact = contact;
		this.phone = phone;
		this.address = address;
		this.py = py;
		this.wb = wb;
	}

	// Property accessors
	@Id
	@Column(name = "id", unique = true, nullable = false, length = 32)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "name", nullable = false, length = 64)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "isValid", nullable = false)
	public Boolean getIsValid() {
		return this.isValid;
	}

	public void setIsValid(Boolean isValid) {
		this.isValid = isValid;
	}

	@Column(name = "memo", length = 24)
	public String getMemo() {
		return this.memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	@Column(name = "bankName", length = 64)
	public String getBankName() {
		return this.bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	@Column(name = "bankAcount", length = 64)
	public String getBankAcount() {
		return this.bankAcount;
	}

	public void setBankAcount(String bankAcount) {
		this.bankAcount = bankAcount;
	}

	@Column(name = "contact", length = 24)
	public String getContact() {
		return this.contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	@Column(name = "phone", length = 24)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "address", length = 24)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "py", length = 23)
	public String getPy() {
		return this.py;
	}

	public void setPy(String py) {
		this.py = py;
	}

	@Column(name = "wb", length = 23)
	public String getWb() {
		return this.wb;
	}

	public void setWb(String wb) {
		this.wb = wb;
	}

}